package com.cloud.haiyan_base.vo;

import com.cloud.haiyan_base.validator.annotion.IdValid;
import com.cloud.haiyan_base.validator.group.Delete;
import com.cloud.haiyan_base.validator.group.Update;
import lombok.Data;

/**
 * 所有VO的基类，继承PageInfo，就可使用其分页的方法
 * @param <T>
 */
@Data
public class BaseVo<T> extends PageInfo<T> {

    @IdValid(groups = {Update.class, Delete.class})
    private String uid;

    private Integer status;
}
